﻿# -*- coding: utf-8 -*-


import os
import pytest
from utils.util import Utils

if __name__ == '__main__':
    json_dir = "./result/json"
    html_dir = "./result/html"
    pytest.main()
    os.system(f"allure generate {json_dir} -o {html_dir} --clean")
    Utils.clean_intermediate_folders(json_dir)
    # os.system(f"allure open {html_dir}")
